package com.ruoyi.news.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单主对象 xcx_order_main
 * 
 * @author ruoyi
 * @date 2024-10-24
 */
@Data
public class XcxOrderMain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 角色 */
    @Excel(name = "角色")
    private String role;

    /** 截至时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "截至时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 指定人 */
    @Excel(name = "指定人")
    private String appointPeople;

    /** 工时 */
    @Excel(name = "工时")
    private String workDate;

    /** 单价 */
    @Excel(name = "单价")
    private String price;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    @Excel(name = "用户名称")
    private String userName;

    @Excel(name = "头像")
    private String avatar;

    @Excel(name = "接单凭证")
    private String takeMsg;

    @Excel(name = "完成凭证")
    private String successMsg;

    private int curTab;

    private String takeUser;

    @Excel(name = "用户名称")
    private String tkNickName;

    @Excel(name = "头像")
    private String tkAvatar;

    @Excel(name = "用户名称")
    private String tkPhoneNumber;

    @Excel(name = "用户名称")
    private String phoneNumber;

    @Excel(name = "发方联系方式")
    private String contactSend;

    @Excel(name = "接方联系方式")
    private String contactTake;

    @Excel(name = "用户新ID")
    private String newUserId;

    @Excel(name = "小程序-关键词搜索")
    private String keyWord;

    //管理员删除订单所需填写金额
    @Excel(name = "发方所得金额")
    private String moneySend;

    @Excel(name = "接方所得金额")
    private String moneyTake;

    @Excel(name = "阅读量")
    private Integer readNum;

    private String takeUserId;

    private String takeUserName;
}
